<?php
	/**
	* @File name:	error.php
	* @Desription:	error
	* @Author:	 	jinxin<jx@178.com>   
	* @Date:	 	Wed Jun 08 11:35:14 CST 2011
	* @Copyright 	Copytright (c) 2008-2011 178.COM Co., Ltd.
	* @version	 	$Id $
	*/
	
	
	class error {		
		public static function show($msg){
			$msg =$_SERVER['config']['debug'] ? $_SERVER['config']['lang']['sys'][$msg] : $_SERVER['config']['lang']['no_access'][$msg]; ;
			include_once(VIEW_PATH.'error.phtml');
		}
		
		public static function pageNotFound(){
			include_once(VIEW_PATH.'nopage.phtml');
		}
	}
	
